All Questions
3 questions
2votes
1answer
204views
Per-Module Unit Testing in ZF2
This question is about handling namespaces and unit testing in ZF2. Let's say I have a module called Application. I have constructed composer.json to be like so "autoload":{ "psr-4": { "...
1vote
1answer
124views
How far do I, or can I take TDD tests with Service Objects?
In writing PHPSPEC tests for a Zend Framework 2 application, I'm left wondering how far to 'dig'. Consider this very simple case: A DomainService (Domain in the URL sense of the word) should be ...
2votes
3answers
2kviews
Unit-testing functions without business logic (only checks) [duplicate]
My team is trying to find out the best way to test one of our components; the main scope is to check if the user/actor has the right to complete the operation requested. The component is formed by ...